chore(github): Migrate to renovate GH action #2520
Merged
+104
−75
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a working WIP to replace Renovate hosted app at (https://developer.mend.io/) with a self-hosted version via the official GitHub action renovatebot/github-action.
PR is to start a discussion whether we want to keep the existing approach introduced by @tico24 here:
Status quo
In my point of view it is a bit fragile to synchronize between an App and a GH action. Especially as soon as the GH action adds another commit to update the changelog, Renovate cannot update the PR anymore, otherwise the GH action needs to update the changelog again (unsure whether it works today).
Renovate as a GH action
When we use Renovate as an action, we talk about self-hosted. This ways we are then allowed to execute so-called
postUpgradeTasks
. Everything then is under full-control of Renovate.If we proceed
Things which are open to proceed:
Grant same permissions as the official App from MEND
RENOVATE_APP_PRIVATE_KEY
)RENOVATE_APP_ID
)